<form action="<?php echo url('permission/insert');?>" method="post">
	<div class="form-row">
		<label for="user_id">用户ID</label>
		<select name="user_id">
			<option value="0">select</option>
			<?php foreach($users as $user): ?>
			<option value="<?php echo $user['id'];?>"><?php echo $user['nick'];?></option>
			<?php endforeach;?>
		</select>
	</div>
	<div class="form-row">
		<label for="permission">权限</label>
		<textarea name="permission"></textarea>
	</div>
	<div class="form-button">
		<input type="submit" name="submit" value="添加"/>
		<a href="<?php echo url('permission/index');?>">返回</a>
	</div>
</form>